package cn.itcast.controller;

import cn.itcast.entity.Result;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping(path = "/pay")
@CrossOrigin
public class MobilePayController {

    /**
     * 获取微信支付二维码的路径
     * @param id
     * @return
     */
    @GetMapping("/wxPay")
    public Result getPayUrl(@RequestParam("orderId")Integer id){

        // todo 获取生成的验证码的url路径
        return null;
    }

}
